Package com.cisco.pt.ipc.sim.impl
Class AntennaImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCObjectImpl
com.cisco.pt.ipc.sim.impl.LinkImpl
com.cisco.pt.ipc.sim.impl.AntennaImpl
Information provided by the PKI file:
\class Antenna
\brief The Antenna class represents the wireless link.
\example network().getDevice(QString:Wireless Router0).getPort(string:Wireless).getLink()
- Author:
- Auto-generated
-
Field Summary
Fields inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
accessMessage, ipcFactory, packetTracerSession -
Constructor Summary
ConstructorsConstructorDescriptionAntennaImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage) -
Method Summary
Modifier and TypeMethodDescriptiongetPort()Information provided by the PKI file:getReceiverAt(int index) Information provided by the PKI file:intInformation provided by the PKI file:Methods inherited from class com.cisco.pt.ipc.sim.impl.LinkImpl
getConnectionTypeMethods inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession, sendMessage, sendMessageWithReturn, translateToCommandStatusStringPairMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSessionMethods inherited from interface com.cisco.pt.ipc.sim.Link
getConnectionType
-
Constructor Details
-
AntennaImpl
public AntennaImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage)
-
-
Method Details
-
getPort
Information provided by the PKI file:
\brief Returns the port object associated with this Antenna. \return Port, the port object associated with this Antenna. -
getReceiverCount
public int getReceiverCount()Information provided by the PKI file:
\brief Returns the number of receivers associated with this Antenna. \return int, the number of receivers associated with this Antenna.- Specified by:
getReceiverCountin interfaceAntenna- Returns:
- int Returns a int
-
getReceiverAt
Information provided by the PKI file:
\brief Returns the Antenna receiver at the specified index. \param int index, the index of Antenna receiver. \return Antenna, the Antenna receiver at the specified index.- Specified by:
getReceiverAtin interfaceAntenna- Parameters:
index- Takes in a parameter of index- Returns:
- Antenna Returns a Antenna
-